package com.itheima.pojo;

/**
 * @author huyoufu <https://github.com/huyoufu>
 * @TIME 2020-08-05 10:58
 * @description
 */
public class Product {
    private int id;
    private String name;
    private String price;
    private Category category;

    public Category getCategory() {
        return category;
    }

    public void setCategory(Category category) {
        this.category = category;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "Product{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", price='" + price + '\'' +
                ", category=" + category +
                '}';
    }
}
